package com.ruoyi.management.pojo.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;


/**
 * 电表日用电量表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DbDayVo {

    /**
     * 主键
     */
    private Long id;

    /**
     * 电表编号
     */
    private String dbbh;

    /**
     * 数据时间戳
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime timestamp;

    /**
     * 总电量(kwh)
     */
    private BigDecimal totalPower;

}
